<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>TransformMesh</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">TransformMesh()</font></b></p>
<p><b>语法</b></p><blockquote>
<font color="#006666"><b>TransformMesh</b></font>(#Mesh, x, y, z, ScaleX, ScaleY, ScaleZ, RotateX, RotateY, RotateZ [, SubMesh])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Transform the Mesh according to the given parameters. 
Dynamic meshes are not supported for transform (meshes created with the <font color="#924B72">#PB_Mesh_Dynamic</font> flag). 


 


</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Mesh</i></td>
<td width="90%"> 
 
The mesh to transform. 

 

</td></tr>
<tr><td><i>x, y, z</i></td>
<td> 
 
New position of the mesh, relative to its node. If the submesh parameter is specified, it 
specifies the new position of the submesh relative to its parent. 

 

</td></tr>
<tr><td><i>ScaleX</i></td>
<td> 
 
Applies a scale factor on the X axis to the mesh. If the submesh parameter is specified, the 
scale is applied the submesh. 

 

</td></tr>
<tr><td><i>ScaleY</i></td>
<td> 
 
Applies a scale factor on the Y axis to the mesh. If the submesh parameter is specified, the 
scale is applied the submesh. 

 

</td></tr>
<tr><td><i>ScaleZ</i></td>
<td> 
 
Applies a scale factor on the Z axis to the mesh. If the submesh parameter is specified, the 
scale is applied the submesh. 

 

</td></tr>
<tr><td><i>RotateX</i></td>
<td> 
 
Applies a rotation, in degree, on the X axis to the mesh. If the submesh parameter is specified, the 
rotation is applied to the submesh. 

 

</td></tr>
<tr><td><i>RotateY</i></td>
<td> 
 
Applies a rotation, in degree, on the Y axis to the mesh. If the submesh parameter is specified, the 
rotation is applied to the submesh. 

 

</td></tr>
<tr><td><i>RotateZ</i></td>
<td> 
 
Applies a rotation, in degree, on the Z axis to the mesh. If the submesh parameter is specified, the 
rotation is applied to the submesh. 

 

</td></tr>
<tr><td><i>SubMesh (optional)</i></td>
<td> 
 
If specified, the transformation will be applied only to the submesh. The first submesh index is 0 (main mesh). 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>
无.


</blockquote><p><b>参阅</b></p><blockquote>

<a href="createmesh.html">CreateMesh()</a>, <a href="loadmesh.html">LoadMesh()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=submeshcount.html>SubMeshCount()</a> - <a href=index.html>Mesh Index</a> - <a href=updatemesh.html>UpdateMesh()</a> -&gt;</body></html>